package com.example.Annocation.importTry;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Description TODO
 * @Date 2024/5/14 15:45
 * @Created by houjunfeng
 */
public class ImportTest {
    public static void main(String[] args) {

        ApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext(ImportConfiguration.class);
        String[] students = annotationConfigApplicationContext.getBeanDefinitionNames();
        for(String s:students){
            System.out.println(s);
        }
    }
}
